<?php

include "../lib/start.php";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="author" content="Solucija (www.solucija.com)" />
	<link rel="stylesheet" href="../css/main.css" type="text/css" />
	<title>Registro elettronico</title>
</head>
<body>
	<div id="header">
		<div class="wrap">
			<?php include '../header.php'; ?>
			<?php include 'main_menu.php'; ?>
		</div>
	</div>
	<div class="wrap">
		<div id="main">
			<h3 style="margin-bottom: 20px; margin-left: auto; margin-right: auto; text-align: center">Si &egrave; verificato un errore nell'accesso al database MySQL</h3>
			<table style="width: 90%; border-collapse: collapse; margin: auto">
				<tr>
					<td style="20%; border: 1px solid gray; padding-left: 10px; font-weight: bold">Var</td>
					<td style="80%; border: 1px solid gray; padding-left: 10px; font-weight: bold">Valore</td>
				</tr>
					<?php
						while(list($k, $v) = each($_SESSION['__mysql_error__'])){
					?>
				<tr>
					<td style="20%; border: 1px solid gray; padding-left: 10px"><?php print $k ?></td>
					<td style="80%; border: 1px solid gray; padding-left: 10px"><?php print $v ?></td>
				</tr>
				<?php } ?>
			</table>
		</div>
		<div id="footer">
			<p>Design: Luka Cvrk - <a href="http://www.solucija.com" title="Free Web Templates">Solucija</a></p>
		</div>
	</div>	
</body>
</html>